﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="dlgPopup.aspx.cs" Inherits="InventoryProject.Setting.dlgPopup" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="~/Styles/Main.css" rel="stylesheet" type="text/css" />
</head>
<body>
<script type='text/javascript'>

    function UpdateParam(ItemCd, ItemNm, ctlID, ctlName) {
             
        var arrayValues = new Array(ItemCd, ItemNm);

        window.opener.PopupReturn(arrayValues, ctlID, ctlName);
        window.close();
    }
</script>
    <form id="form1" runat="server">
    <div>
        <div class="editform">    
        <ul>
            <li>
                <div class="divColumn">
                    <label class="label">Search by</label>
                    <br/>
                    <asp:DropDownList runat="server" ID="ddlType">
                        <asp:ListItem Selected="True" Text="Code" Value="Code"></asp:ListItem>
                        <asp:ListItem Text="Name" Value="Name"></asp:ListItem>
                    </asp:DropDownList>
                </div>
                <div class="divColumn">
                    <label class="label"></label>
                    <br/>
                    <asp:TextBox runat="server" ID="txtItemNm" class="textbox"></asp:TextBox>                    
                </div>
            </li>
        </ul>
        </div>
        <br />
        <asp:GridView ID="grdData" runat="server" 
                    AllowSorting="true" AllowPaging="true" PageSize="5" 
                    PagerSettings-Mode="NextPreviousFirstLast"             
                     onrowdatabound="grdData_RowDataBound">
            <HeaderStyle BackColor="AliceBlue" />
            <Columns>                
                
            </Columns>
        </asp:GridView>
    </div>
    </form>
</body>
</html>
